home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000414_news@columbia.edu _Mon Apr 15 11:29:49 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  7KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id LAA25083 for <kermit.misc@watsun>; Mon, 15 Apr 1996 11:29:49 -0400 (EDT)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.5/8.7.3) id LAA03297 for kermit.misc@watsun; Mon, 15 Apr 1996 11:29:45 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.sys.hp48,comp.protocols.kermit.misc
  7. Subject: Re: [Q] HP48GX Kermit <> MS-DOS Kermit 3.14 Transfers
  8. Date: 15 Apr 1996 15:29:26 GMT
  9. Organization: Columbia University
  10. Lines: 147
  11. Message-ID: <4ktq0m$36u@apakabar.cc.columbia.edu>
  12. References: <4ksoa8$f75@globe.indirect.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14. Xref: news.columbia.edu comp.sys.hp48:48424 comp.protocols.kermit.misc:5086
  15.  
  16. In article <4ksoa8$f75@globe.indirect.com>,
  17. Jim Monty <monty@indirect.com> wrote:
  18. : [Article cross-posted to comp.protocols.kermit.misc and comp.sys.hp48]
  19. : I've successfully connected an HP48GX calculator to my MS-DOS PC via
  20. : a null modem cable manufactured by Hewlett-Packard. I'm satisfied that
  21. : the difficulty I'm having is not due to a problem with the physical
  22. : serial connection (i.e., the cable, connectors, and plugs) or to a COM
  23. : port/IRQ conflict.
  24. : I'm running MS-DOS Kermit Version 3.14 PL8 under MS-DOS Version 6.22.
  25. : I've carefully followed the instructions provided on pp. 27-8 through 27-11
  26. : of the _HP 48G Series User's Guide_ (Hewlett-Packard Company, 1993) and have
  27. : read the pertinent chapters in _Using MS-DOS Kermit: Connecting Your PC to
  28. : the Electronic World_, Second Edition (Digital Press, 1992). When I initiate
  29. : a file transfer either by placing the PC in SERVER mode and SENDing a file
  30. : from the HP48GX, or by placing the calculator in SERVER mode and starting
  31. : the file transfer from the PC, it fails. The file transfer seems to start,
  32. : but then retries several times unsuccessfully and eventually times out. I've
  33. : experimented with innumerable combinations of I/O settings, but have gotten
  34. : the same result each time.
  35. : Any clues or suggestions? I was unable to find any specific information
  36. : about getting Kermit file transfers to work in the HP48 FAQ. Is there a
  37. : generic "modem" configuration file available for setting MS-DOS Kermit to
  38. : transfer data to and from an HP48-series calculator? As I've mentioned, I
  39. : tried various combinations of communications and protocol settings and have
  40. : carefully matched them between both the PC and the calculator. I obviously
  41. : have not yet identified the magick combination.
  42. : Any help will be greatly appreciated. Thanks!
  43. :
  44. : Jim Monty
  45. : monty@indirect.com
  46. : Tempe, Arizona USA
  47.  
  48. This question comes up rather often, and I'd add it to our FAQ if I
  49. actually knew the answer.  Below are several contradictory messages which
  50. might or might not help.  The important thing to note is that some people
  51. have file transfer between the HP-48 and MS-DOS Kermit working just fine.
  52. Maybe the discrepencies in opinions and experience can be explained by
  53. different HP-48 models having different communications characteristics.
  54.  
  55. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  56. Newsgroups: comp.protocols.kermit.misc
  57. Subject: Re: Problem with HP-48 and Kermit
  58. Date: 19 Mar 1996 21:56:26 GMT
  59. Organization: Columbia University
  60.  
  61. In article <4imua9$7rf@news.internetmci.com>,
  62. <0002016821@mcimail.com> wrote:
  63. : I am having difficulty sending a file larger than about 12k
  64. : to my HP-48 using kermit.  Any suggestions on why this might 
  65. : be happening ?
  66. Using which Kermit?  Which version?
  67.  
  68. If it is MS-DOS Kermit (current version 3.14), you will need to
  69. configure it specially for connection to the HP-48.  First of all,
  70. the HP-48 doesn't support any kind of flow control, so tell Kermit to:
  71.  
  72.   SET FLOW NONE
  73.  
  74. Secondly, the HP-48 serial port is unable to receive characters for a
  75. fraction of a second when it is switching from sending to receiving.
  76. But since it does not support flow control, it doesn't have any way of
  77. telling your PC not to send during that time.  So you have to tell Kermit
  78. to pause after each packet.  Try one or both of these:
  79.  
  80.   set send pause 1000
  81.   set receive pause 1000
  82.  
  83. The number is milliseconds, so 1000 of them = 1 second.  You might be able
  84. to make it smaller, or you might have to make it bigger.
  85.  
  86. - Frank
  87.  
  88. From: randyd@crl.com (Randy Ding)
  89. Newsgroups: comp.protocols.kermit.misc
  90. Subject: Re: Problem with HP-48 and Kermit
  91. Date: 19 Mar 1996 15:25:48 -0800
  92. Organization: CRL Network Services (415) 705-6060  [Login: guest]
  93.  
  94. In article <4imua9$7rf@news.internetmci.com>,  <0002016821@mcimail.com> wrote:
  95. >I am having difficulty sending a file larger than about 12k
  96. >to my HP-48 using kermit.  Any suggestions on why this might 
  97. >be happening ?
  98. >
  99. You are not giving much info here.
  100. Be sure to: set con p all
  101. for transferrs to the hp48.
  102. also be sure you: set flow xon
  103.  
  104. Tell us exactly what your settings are on both hp and kermit, and what
  105. version of kermit you are using.
  106.  
  107. Randy.
  108. randyd@crl.com
  109.  
  110. From: randyd@crl.com (Randy Ding)
  111. Newsgroups: comp.protocols.kermit.misc
  112. Subject: Re: Problem with EOF
  113. Date: 27 Mar 1996 18:27:30 -0800
  114. Organization: CRL Network Services (415) 705-6060  [Login: guest]
  115.  
  116. In article <4jckum$6p4@news.internetmci.com>, <0002016821@mcimail.com> wrote:
  117. >I have recently used version 3.14 to send a file to my HP-48.
  118. >With flow control set to none and send pause = 1000, I was not able 
  119. >to finish receiving the file on the HP-48 side. The pc screen
  120. >shows 100% sent but the last 3 packets (more or less) never seem
  121. >to get to the HP-48.
  122.  
  123. Actually, the hp does use xon/xoff.  
  124. Also, you MUST set con p all.
  125. Below is what I have always used, put it in your k95custom.ini.
  126. Omit the line that says set protocol if you are using 3.14.
  127. Don't need to mess with the send pause.
  128.  
  129. Note:  If the following does not work, then you have another problem..
  130.        possibly with your cable or something.
  131.  
  132. ; -------------------------------------------
  133. ; hp48 binary and text file transfer commands
  134.  
  135. ; Macros for transferring files in text and binary mode...
  136. define bsend binary,send \%1 \%2  ; SEND in binary mode
  137. define tsend text,send \%1 \%2    ; SEND in text mode
  138. define bget binary,get \%1        ; GET in binary mode
  139. define tget text,get \%1          ; GET in text mode
  140.  
  141. define hpsetup,-
  142.   set port com1,-
  143.   set speed 9600,-
  144.   set protocol kermit,-
  145.   set flow xon,-
  146.   set parity none,-
  147.   set con p all
  148.  
  149. define bgethp hpsetup,-
  150.   set file type binary,-
  151.   get \%1
  152.  
  153. define btohp hpsetup, do bsend \%1 \%2
  154. define tohp hpsetup, do tsend \%1 \%2
  155. define frhp hpsetup, receive \%1
  156.  
  157. (End)